package com.test.service.impl;

import com.test.mapper.TpmTestLogMapper;
import com.test.model.TpmTestLog;
import com.test.service.TpmTestLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Author:yaoxiaojian
 * @Description:
 * @Date:create in 2020/4/7 10:46
 * @Modified By:
 */
@Service
@Transactional
public class TpmTestLogServiceImpl implements TpmTestLogService {

	@Autowired
	private TpmTestLogMapper tpmTestLogMapper;

	@Override
	public Long ceshiinsert(TpmTestLog tpmTestLog) {
		return tpmTestLogMapper.insert(tpmTestLog);
	}

	@Override
	public Long ceshiupdate(TpmTestLog tpmTestLog) {
		return tpmTestLogMapper.ceshiupdate(tpmTestLog);
	}

	@Override
	public TpmTestLog ceshiquery(long uuid) {
		return tpmTestLogMapper.ceshiquery(uuid);
	}

	@Override
	public Long ceshidelete(long uuid) {
		return tpmTestLogMapper.ceshidelete(uuid);
	}
}
